<?php
session_start();
if(!$_SESSION["trv3_07"]){
	header("location:../../login.php");
	exit;
}
require "../../resources/v1.php";
if( !get_magic_quotes_gpc()){
	$Autos = addslashes( trim( $_GET['val1']));
}else{
    $Autos = trim( $_GET['val1']);
}

if( $Autos){
	$conexion = server_reconnect();
	
	$query = "select `autos`,`nro` from `exp` where `autos`=".$Autos;
	
	$result = mysql_query( $query, $conexion);
	if( $mxcel = @mysql_fetch_array($result)){
	
		echo '<?xml version="1.0" encoding="UTF-8"?><input>';
		echo '<Autos1>'.$mxcel['autos'].'</Autos1><Acta0>'.$mxcel['nro'].'</Acta0><Acta1>'.$mxcel['nro'].'</Acta1>';
		echo '</input>';
		
	}
	server_disconnect( $conexion);
}
?>